package com.cn.kehong.dao;

import com.cn.kehong.domain.ProductPackageJob;
import com.cn.kehong.domain.ProductPackageJobExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductPackageJobMapper {
    int countByExample(ProductPackageJobExample example);

    int deleteByExample(ProductPackageJobExample example);

    int insert(ProductPackageJob record);

    int insertSelective(ProductPackageJob record);

    int batchInsertPackageJob(@Param("itemList") List<ProductPackageJob> records);

    List<ProductPackageJob> selectByExample(ProductPackageJobExample example);

    List<ProductPackageJob> selectProductJobsNotFinsh();

    ProductPackageJob selectProductJobById(String id);

    int updateByExampleSelective(@Param("record") ProductPackageJob record, @Param("example") ProductPackageJobExample example);

    int updateByExample(@Param("record") ProductPackageJob record, @Param("example") ProductPackageJobExample example);

    int batchUpdateProductJobLuTemp(List<ProductPackageJob> records);

    int getCountByApp(@Param("factoryName") String factoryName);
}